package com.example.myapplication.ui.home;

public class CourseDetail {
    private String title;
    private String imageUrl;
    private String instructor;
    private String difficulty;
    private float rating;
    private String desc;
    private String content;

    // Getter方法
    public String getTitle() { return title; }
    public String getImageUrl() { return imageUrl; }
    public String getInstructor() { return instructor; }
    public String getDifficulty() { return difficulty; }
    public float getRating() { return rating; }
    public String getDesc() { return desc; }
    public String getContent() { return content; }

    // Setter方法
    public void setTitle(String title) { this.title = title; }
    public void setImageUrl(String imageUrl) { this.imageUrl = imageUrl; }
    public void setInstructor(String instructor) { this.instructor = instructor; }
    public void setDifficulty(String difficulty) { this.difficulty = difficulty; }
    public void setRating(float rating) { this.rating = rating; }
    public void setDesc(String desc) { this.desc = desc; }
    public void setContent(String content) { this.content = content; }
}
